<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<title><?php if (get_page_info('title') != '') echo get_page_info('title').' &rsaquo; '; ?>Admin Panel</title>
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="stylesheet" type="text/css" href="css/prettyPhoto.css" />
    <link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.16.custom.css" />
    <link rel="stylesheet" type="text/css" href="../theme/css/colorbox.css" />
	
	<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="js/jquery.color.js"></script>
    <script type="text/javascript" src="../theme/js/jquery.colorbox-min.js"></script> 
	<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
	<script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="editor/scripts/innovaeditor.js"></script>
    
</head>
<body>

<div id="header">
	<div class="wrapper">
		<div class="container">
<?php if (empty($install)) { ?>
			<h1><a href="./" title="Dashboard">Admin Panel</a><span><a href="<?php echo get_option('site_path'); ?>">View Site</a></span></h1>
<?php } else { ?>
			<h1><a href="./" title="Installing Articulate Articles">Installing Articulate Articles</a></h1>
<?php } ?>
		</div>
	</div>
</div>

<?php if (empty($install) && is_logged_in()) { ?>
<div id="navigation">
	<div class="wrapper">
		<div class="container">
			<ul>
				<li<?php if (admin_is_page('posts')) echo ' class="current"'; ?>><a href="posts.php">Posts</a></li>
				<li<?php if (admin_is_page('pages')) echo ' class="current"'; ?>><a href="pages.php">Pages</a></li>
				<li<?php if (admin_is_page('comments')) echo ' class="current"'; ?>><a href="comments.php">Comments</a></li>
				<li<?php if (admin_is_page('users')) echo ' class="current"'; ?>><a href="users.php">Users</a></li>
                <li<?php if (admin_is_page('users_comment')) echo ' class="current"'; ?>><a href="users_comment.php">Users Comment</a></li>
				<li<?php if (admin_is_page('frontpage')) echo ' class="current"'; ?>><a href="frontpage_setting.php">Frontpage Setup</a></li>
				<li<?php if (admin_is_page('settings')) echo ' class="current"'; ?>><a href="settings.php">Settings</a></li>
				<li id="logout"><a href="logout.php">Logout</a></li>
			</ul>
			<br class="clear" />
		</div>
	</div>
</div>
<?php } ?>

<div id="content_div" class="wrapper">
	<div class="container">
	